<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <a href="http://www.bing.com" @click.prevent="handleClick">点击</a>
    </div>
</body>
<script src="https://cn.vuejs.org/js/vue.js"></script>
<script>
    let vm = new Vue({
        el:"#app",
        methods:{
            handleParentClick:function(){
                console.log("handleParentClick",'被触发了');
            },
            handleClick:function(e){
                // console.log(e);
                // 阻止冒泡
                // e.prevent();
                console.log("handleClick","被触发了");
            }    
        }
    });
</script>
</html>